package com.nit.bike.dto.bike;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class BikeRecordDTO {
    private Long key;

    private Long bikeRecordId;

    private Long bikeId;

    private String bikeNumber;

    private Integer bikeRecordType;

    private String note;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    public Long getKey() {
        return key;
    }

    public void setKey(Long key) {
        this.key = key;
    }

    public Long getBikeRecordId() {
        return bikeRecordId;
    }

    public void setBikeRecordId(Long bikeRecordId) {
        this.bikeRecordId = bikeRecordId;
    }

    public Long getBikeId() {
        return bikeId;
    }

    public void setBikeId(Long bikeId) {
        this.bikeId = bikeId;
    }

    public String getBikeNumber() {
        return bikeNumber;
    }

    public void setBikeNumber(String bikeNumber) {
        this.bikeNumber = bikeNumber == null ? null : bikeNumber.trim();
    }

    public Integer getBikeRecordType() {
        return bikeRecordType;
    }

    public void setBikeRecordType(Integer bikeRecordType) {
        this.bikeRecordType = bikeRecordType;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

}
